.home {
  max-width: 1200px;
  margin: 0 auto;
}

.hero {
  text-align: center;
  padding: 40px !important;
  height: 200px;
  border-radius: 10px;
  background: linear-gradient(
      135deg,
      rgba(65, 184, 131, 0.7) 0%,
      rgba(65, 184, 131, 0.9) 100%
    ),
    url('/assets/images/cover001.avif');
  background-size: cover;
  background-position: center;
  color: white;
  position: relative;
}

.hero h1 {
  font-family: 'DynaPuff', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  color: white;
  margin-block-start:0;
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin: 0 auto 30px;
  color: white;
}

.content h2 {
  color: #333;
  padding-bottom: 10px;
  margin-bottom: 30px;
  text-align: center;
  font-size: 2rem;
}

.courses-section {
  margin-top: 20px;
}
.category-name{
  font-size: 1.2rem;
  font-weight: bold;
}
.courses-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}
.course-content{
  display: flex;
  align-items: center;
  border-radius: 8px;
  padding-bottom: 4px;
}

.course-card {
  flex: 1;
  min-width: 200px;
  border: none;
  border-radius: 10px;
  background-color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-repeat: no-repeat;
  background-position: 80% bottom;
  background-size: auto 80%;
  cursor: pointer;
}

.course-card-1 {
  background-image: url('/assets/images/silhouette-danse-01.svg');
  background-color: #ffe0e0;
}

.course-card-2 {
  background-image: url('/assets/images/silhouette-danse-02.svg');
  background-color: #e3f2fd;
}

.course-card-3 {
  background-image: url('/assets/images/silhouette-danse-03.svg');
  background-color: #f3e5f5;
}

.course-card-4 {
  background-image: url('/assets/images/silhouette-danse-04.svg');
  background-color: #e8f5e9;
}

.course-card-5 {
  background-image: url('/assets/images/silhouette-danse-05.svg');
  background-color: #f5f5f5;
}

.course-card-6 {
  background-image: url('/assets/images/silhouette-danse-06.svg');
  background-color: #faffe0;
}
.course-card-7 {
  background-image: url('/assets/images/silhouette-danse-07.svg');
  background-color: #e0fffc;
}
.course-card-8 {
  background-image: url('/assets/images/silhouette-danse-08.svg');
  background-color: #e6e0ff;
}
.course-card-9 {
  background-image: url('/assets/images/silhouette-danse-09.svg');
  background-color: #ffe0ed;
}
.course-card-10 {
  background-image: url('/assets/images/silhouette-danse-10.svg');
  background-color: #efffe0;
}
.course-card-11 {
  background-image: url('/assets/images/silhouette-danse-11.svg');
  background-color: #f2e0ff;
}
.course-card-12 {
  background-image: url('/assets/images/silhouette-danse-12.svg');
  background-color: #e0fffb;
}
.course-card-13 {
  background-image: url('/assets/images/silhouette-danse-13.svg');
  background-color: #fee3e033;
}
.course-card-14 {
  background-image: url('/assets/images/silhouette-danse-14.svg');
  background-color: #00f3e033;
}
.course-card-15 {
  background-image: url('/assets/images/silhouette-danse-15.svg');
  background-color: #0c650533;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.course-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.course-title {
  color: #333;
}

.course-description {
  color: #666;
  font-size: 0.8rem;
  line-height: 1.6;
  flex-grow: 1;
  padding:4px 10px;
}

.course-meta {
  margin-bottom: 15px;
}

.card-footer {
  text-align: center;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 15px;
}

.continue-btn {
  background-color: #e6a23c;
  border-color: #e6a23c;
}

.course-progress {
  margin: 0px 0;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
  font-size: 0.9rem;
  color: #666;
}

@media (max-width: 768px) {
  .home {
    padding: 10px;
  }

  .hero {
    padding: 60px 15px !important;

    h1 {
      font-size: 1rem;
    }

    p {
      font-size: 1rem;
    }
  }

  .content h2 {
    font-size: 1.5rem;
  }

  .courses-grid {
    gap: 20px;
  }

  .course-card {
    min-width: 100%;
    height: auto;
  }
}
